package com.fh.dao.dog.manage;


import com.fh.dao.DaoSupport;
import com.fh.util.PageData;
import org.mybatis.spring.SqlSessionTemplate;
import org.springframework.stereotype.Controller;
import org.springframework.stereotype.Repository;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.annotation.Resource;
import java.util.List;

/**
 * 犬只查询
 */
@Repository("DogSearchDaoImpl")
public class DogSearchDaoImpl {

    @Resource(name = "daoSupport")
    private DaoSupport dao;
    public List<PageData> findList(PageData pd)throws Exception{
      return (List<PageData>)dao.findForList("DogSearch.datalistPage", pd);
    }
}
